﻿using KinonekoSoftware.Expressions.Core;
using KinonekoSoftware.Expressions.Documents;

namespace KinonekoSoftware.Expressions.Primitives
{
    public sealed class XCoreParagraph : ExpressionBlockNode
    {
        private string _content;

        public override ExpressionNode Generate()
        {
            return new XCoreParagraph
            {
                Id = GetID(),
            };
        }

        public string Content
        {
            get => _content;
            set => SetValue(ref _content, value);
        }
    }
}